﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;

namespace BaseControl.ViewModels
{
    #region Model
    public enum EnumPage
    {
        BulletDecorator,
        Expander,
        GridSplitter,
        Panel,
        ResizeGrip,
        Separator,
        ScrollBar,
        Thumb,
        VirtualizingStackPanel
    }
    #endregion

    internal class NavigationViewModel:Conductor<Screen>.Collection.OneActive
    {
        public void SwitchPage(int pageIndex)
        {
            switch (pageIndex)
            {
                case (int)EnumPage.BulletDecorator:
                    ActivateItemAsync(new BulletDecoratorViewModel());
                    break;
                default:
                    break;
            }
        }
    }
}
